package com.gome.ocean.service.datax;

import com.github.pagehelper.Page;
import com.gome.ocean.common.exception.JobHistoryServiceException;
import com.gome.ocean.dao.model.datax.JobHistoryBO;

public interface JobHistoryService {

    public void insertJobHistory(JobHistoryBO jobHistoryBO);

    public void removeJobHistoryById(Long id);

    public void updateJobHistoryById(JobHistoryBO jobHistoryBO);

    JobHistoryBO findJobHistoryById(Long id);

    Page<JobHistoryBO> findJobHistoryByJobId(Long jobId, int pageNum, int pageSize) throws JobHistoryServiceException;

    public JobHistoryBO findCurrentJob(Long id);
}
